def common_assert(resp, status_code, success, code, message):  # 函数名使用test_assert则报错为assert错误
    assert status_code == resp.status_code
    assert success is resp.json().get("success")
    assert code == resp.json().get("code")
    assert message in resp.json().get("message")

# def test_assert_01(resp,status,msg):
#     assert status is resp.json().get("status")
#     assert msg == resp.json().get("msg")
